package com.train.mgr.modules.biz.mapper;

import com.train.mgr.modules.biz.dto.StatLessonGroupTraineeDTO;
import com.train.mgr.modules.biz.dto.StatLessonTraineeDTO;
import com.train.mgr.modules.biz.entity.StatLessonGroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课时学员分组统计表 Mapper 接口
 * </p>
 *
 * @author cxg
 * @date 2025-10-11
 */
public interface StatLessonGroupMapper extends BaseMapper<StatLessonGroup> {
    List<StatLessonGroupTraineeDTO> buildLessonTraineeStat(@Param("courseId") Long courseId, @Param("lessonId") Long lessonId);

}
